{block name="title" prepend}{$LNG.an_anres}{/block}
{block name="content"}
<table style="min-width:600px;">
	<tr><th colspan="9"><center><font color="#00FF00">{$LNG.gl_resources}</font></center></th></tr>
	<tr><th colspan="2" style="text-align:center">{$LNG.an_infos}</th><th colspan="3" style="text-align:center">{$LNG.an_sellres}</th><th colspan="3" style="text-align:center">{$LNG.an_buyres}</th><th style="text-align:center">{$LNG.an_action}</th></tr>
	<tr>
		<th>{$LNG.an_lot}</th>
		<th>{$LNG.an_seller}</th>
		<th>{$LNG.tech.901}</th>
		<th>{$LNG.tech.902}</th>
		<th>{$LNG.tech.903}</th>
		<th>{$LNG.tech.901}</th>
		<th>{$LNG.tech.902}</th>
		<th>{$LNG.tech.903}</th>
		<th>-</th>
	</tr>
	{foreach item=sr from=$SellRes name=SellRes}{if $univer == $sr.universe}{if ($sr.timelot <= $sr.times)}
	<tr>
		<td style="white-space: nowrap;">{$sr.timend|time}</td>
		<td>{$sr.user}</td>
		{if $shortlyNumber}<td class="tooltip" data-tooltip-content="{$sr.metala|number}" name="{$sr.metala|number}" id="anonce_metala">{shortly_number($sr.metala)}</td>{else}<td>{$sr.metala|number}</td>{/if}
		{if $shortlyNumber}<td class="tooltip" data-tooltip-content="{$sr.cristala|number}" name="{$sr.cristala|number}" id="anonce_cristala">{shortly_number($sr.cristala)}</td>{else}<td>{$sr.cristala|number}</td>{/if}
		{if $shortlyNumber}<td class="tooltip" data-tooltip-content="{$sr.deuta|number}" name="{$sr.deuta|number}" id="anonce_deuta">{shortly_number($sr.deuta)}</td>{else}<td>{$sr.deuta|number}</td>{/if}
		{if $shortlyNumber}<td class="tooltip" data-tooltip-content="{$sr.metals|number}" name="{$sr.metals|number}" id="anonce_metals">{shortly_number($sr.metals)}</td>{else}<td>{$sr.metals|number}</td>{/if}
		{if $shortlyNumber}<td class="tooltip" data-tooltip-content="{$sr.cristals|number}" name="{$sr.cristals|number}" id="anonce_cristals">{shortly_number($sr.cristals)}</td>{else}<td>{$sr.cristals|number}</td>{/if}
		{if $shortlyNumber}<td class="tooltip" data-tooltip-content="{$sr.deuts|number}" name="{$sr.deuts|number}" id="anonce_deuts">{shortly_number($sr.deuts)}</td>{else}<td>{$sr.deuts|number}</td>{/if}
		<td align="center">{if ($sr.user != $sr.users)}<a href="game.php?page=anonce&mode=res&amp;mod=1&amp;an=2&amp;bid={$sr.id}"><font color="#00FF00">{$LNG.an_buy}</font></a>{else}<a href="game.php?page=anonce&mode=res&amp;mod=1&amp;an=1&amp;bid={$sr.id}"><font color="#FF0000">{$LNG.an_del}</font></a>{/if}</td>
	</tr>
	{/if}{/if}{/foreach}
	<tr>
		<th colspan="9"><a href="game.php?page=anonce&mode=sellres"><center><font color="#00FF00">{$LNG.an_upsale}</font></center></a></td>
	</tr>
	<tr>
		<th colspan="9"><a href="game.php?page=anonce&mode=resid"><center><font color="#00FF00">{$LNG.an_sellresid}</font></center></a></td>
	</tr>
</table>
{/block}